package edu.nbut.hotel.model.dao;

import edu.nbut.hotel.model.entity.pojo.Manager;

import java.sql.SQLException;
import java.util.List;

public interface ManagerDao {
    List<Manager> queryAll() throws SQLException;
    Manager queryById(int id) throws SQLException;
    Manager queryByUsername(String username);
    boolean addManager(Manager manager) throws SQLException;
    boolean deleteManager(int id);
}
